<?php
class Fe_provider extends CI_Controller {
	function __construct() {
		parent::__construct();
		$this->load->model('be/providermodel', 'model');
		$this->load->helper('url', 'form');
	}
	
	function detail($id) {
		$provider = $this->model->get($id); 
		$data['main_content'] = 'fe/provider_detail_view';
		$data['page_title'] = $provider->name ;
		$data['provider'] = $provider;
		$this->load->view('fe/includes/provider_detail_template', $data);
	}
}